package com.coffee.admin.api.platform.service;

import com.coffee.admin.api.platform.query.PlatformSystemDeployQuery;
import com.coffee.admin.api.platform.result.PlatformSystemDeployResult;
import com.coffee.core.entity.Page;
import com.coffee.core.entity.PagerInfo;
import com.coffee.core.exception.BusinessException;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface PlatformSystemDeployService {

	Page<PlatformSystemDeployResult> getPager(PlatformSystemDeployQuery param, PagerInfo pr);
	
	Integer count(PlatformSystemDeployQuery param);
	
	PlatformSystemDeployResult getDetail(Integer id);
	
	List<PlatformSystemDeployResult> getList(PlatformSystemDeployQuery param, PagerInfo pr);
	
	List<PlatformSystemDeployResult> getList(PlatformSystemDeployQuery param);
	
	List<PlatformSystemDeployResult> getList();

	void delete(Integer id);

	void addOrUpdate(PlatformSystemDeployResult result)throws BusinessException;
	
	Map<Integer,PlatformSystemDeployResult> getItemMap(Set<Integer> idSet);
	
	Map<Integer,PlatformSystemDeployResult> getItemMap();
	
}